package cn.iocoder.yudao.module.course.controller.admin.interactive.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 课程交互新增/修改 Request VO")
@Data
public class InteractiveSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "17867")
    private Long id;

    @Schema(description = "源类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "源类型不能为空")
    private Integer sourceType;

    @Schema(description = "源id", requiredMode = Schema.RequiredMode.REQUIRED, example = "24512")
    @NotNull(message = "源id不能为空")
    private Long sourceId;

    @Schema(description = "测试类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "测试类型不能为空")
    private Integer testType;

    @Schema(description = "测试类型id", requiredMode = Schema.RequiredMode.REQUIRED, example = "19756")
    @NotNull(message = "测试类型id不能为空")
    private Long testId;

    @Schema(description = "触发测试时间点")
    private Integer startTime;

    @Schema(description = "失败回放到时间点")
    private Integer toPlayStartTime;

    @Schema(description = "通过放行，0 不通过也可以放行，1 通过才可以放行", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "通过放行，0 不通过也可以放行，1 通过才可以放行不能为空")
    private Integer passed;

    @Schema(description = "行锁版本号")
    private Integer version;

    @Schema(description = "组归属部门（当前新增用户所在的部门）", example = "20789")
    private Long deptId;

}